
/**
 * 前区和后区分割索引
 */
export const split_index = 6;

/**
 * 中间号数
 */
export const middle_lines = [['04', '11', '18', '25', '32'], ['04', '10']];

/**
 * 和值信息
 */
export const sum_info = {
    front: middle_lines[0].reduce((a, b) => { return parseInt(a) + parseInt(b) }),
    back: middle_lines[1].reduce((a, b) => { return parseInt(a) + parseInt(b) }),
    all: middle_lines[0].concat(middle_lines[1]).reduce((a, b) => { return parseInt(a) + parseInt(b) }),
};

/**
 * 号数区间
 */
export const index_area = [
    "01 02 03 04 05 06 07",
    "08 09 10 11 12 13 14",
    "15 16 17 18 19 20 21",
    "22 23 24 25 26 27 28",
    "01 02 03 04 05 06",
    "07 08 09 10 11 12",
];

/**
 * 号数（列编号）
 */
export const index_list = ['01', '02', '03', '04', '05', '06', '07'];

/**
 * 47 个号码
 */
export const count_front = 33;
export const count_back = 16;
export const num_front = ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33"];
export const num_back = ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16"];

/**
 * 奖项信息
 */
export const prize_info = [
    { value: 0, text: '未中奖', front: 0, back: 0, money: 0, moneyText: '0' },
    { value: 1, text: '一等奖', front: 6, back: 1, money: 5000000, moneyText: '500万' },
    { value: 2, text: '二等奖', front: 6, back: 0, money: 5000000, moneyText: '500万' },
    { value: 3, text: '三等奖', front: 5, back: 1, money: 3000, moneyText: '3000' },
    { value: 4, text: '四等奖', front: 5, back: 0, money: 200, moneyText: '200' },
    { value: 4, text: '四等奖', front: 4, back: 1, money: 200, moneyText: '200' },
    { value: 5, text: '五等奖', front: 4, back: 0, money: 10, moneyText: '10' },
    { value: 5, text: '五等奖', front: 3, back: 1, money: 10, moneyText: '10' },
    { value: 6, text: '六等奖', front: 2, back: 1, money: 5, moneyText: '5' },
    { value: 6, text: '六等奖', front: 1, back: 1, money: 5, moneyText: '5' },
    { value: 6, text: '六等奖', front: 0, back: 1, money: 5, moneyText: '5' },
];
